﻿using System.Windows;
using System.Windows.Controls;

namespace shift_多选文件
{
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();

            for (int i = 1; i <= 20; i++)
            {
                MyTree.Items.Add(new TreeViewItem { Header = "文件 " + i });
            }
        }
    }
}